body {
   padding-bottom: 70px;
   padding-top: 60px;
   background-color: black;
   z-index: -9999999;
}

.backImg {
   z-index: -1000;
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   opacity: 0;
   background-color: rgb(0, 0, 0);
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-position: center;
   background-size: cover;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   
   overflow: auto;
}

#home1 {
   z-index: -999;
   opacity: 1;
   background-image: url("../pic/backGalerie/b1.jpg");
}

#galerie {
   background-image: url("../pic/galerie.jpg");
}

#ueberMich {
   background-image: url("../pic/uebermich.jpg");
}

#kontakt {
   background-image: url("../pic/kontakt.jpg");
}

#impressum {
   background-image: url("../pic/impressum.jpg");
}

#welcome {
   font-family: 'Orbitron', sans-serif;
   text-align: center;
   color: #ffffee;
   font-size: 100px;
   opacity: 0;
   position: fixed;
   left: 0;
   right: 0;
   color: #8f8f8f;
}

#menu {
   z-index: 1000;
   padding: 0;
   list-style: none;
   position: fixed;
   margin-top: 0px;
   margin-right: auto;
   margin-bottom: auto;
   margin-left: 20px;
   width: 170px;
   opacity: 0;
}

#menu li {
   border-bottom: 1px solid #494949;
   padding-bottom: 5px;
   padding-top: 5px;
   background-color: rgba(0, 0, 0, .6);
   -webkit-transition: all .2s ease-in-out;
   -moz-transition: all .2s ease-in-out;
   -o-transition: all .2s ease-in-out;
   transition: all .2s ease-in-out;
}

#menu li:last-child {
   border-bottom: none;
}

#menu li a {
   margin: 10px auto 10px 20px;
   font-family: "Helvetica", "Arial", sans-serif;
   text-transform: uppercase;
   letter-spacing: 0.04em;
   font-size: 16px;
   color: #8f8f8f;
   -webkit-transition: all .2s ease-in-out;
   -moz-transition: all .2s ease-in-out;
   -o-transition: all .2s ease-in-out;
   transition: all .2s ease-in-out;
}

#menu li:hover {
   cursor: pointer; //
   background-image: linear-gradient(to right, rgba(250, 250, 250, 0.2) 0%, rgba(50, 50, 50, 0.0) 100%);
   background-color: rgba(0, 0, 0, .3);
}

#menu li:hover a {
   cursor: inherit;
   color: #FF4500;
}

.inhalt {
   padding: 10px 5px 5px 5px;
   font-family: "Lucida Sans Unicode", sans-serif;
   color: #2f2f2f;
   font-size: 0.8em;
}

#inhalt3 {
   font-size: 18px;
   position: relative;
}

.contentBox {
   margin: 60px auto 70px 210px;
   background-color: rgba(255, 255, 255, .65);
   min-width: 270px;
   width: 780px;
}

#con1linkbox {
   display: none
}

#footer {
   z-index: 1000;
   opacity: 0;
   bottom: 0;
   height: 40px;
   width: 100%;
   position: fixed;
   background-image: linear-gradient(to right, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .3) 100%);
}

#footer h2 {
   position: absolute;
   right: 30px;
   text-align: right; //
   margin: 10px 30px 10px auto;
   top: 5px;
   color: #8f8f8f;
   letter-spacing: 0.1em;
   font-family: "Helvetica", "Arial", sans-serif;
}

#con5link {
   text-decoration: none;
   list-style: none;
   position: absolute;
   left: 20px;
   top: 12px;
   font-size: 15px; //
   margin: 15px 20px;
   color: #8f8f8f;
   font-family: "Helvetica", "Arial", sans-serif;
   cursor: pointer;
   background-image: none; //
   -webkit-transition: all .2s ease-in-out; //
   -moz-transition: all .2s ease-in-out; //
   -o-transition: all .2s ease-in-out; //
   transition: all .2s ease-in-out;
}

#con5link a:hover {
   cursor: pointer;
}

h1, h2 {
   margin: 0;
}

.ueberschrift {
   color: #2f2f2f;
   font-size: 40px;
   text-align: center;
}

hr {
   margin-top: 2px;
   margin-bottom: 12px;
   height: 1.5px;
   border: none;
   background-color: white;
}

#kontaktButton, #kontaktButtonReset {
   height: 30px;
   width: 100px;
   font-size: 16px;
   margin-right: 10px;
}

#errorKontakt {
   position: absolute;
   right: 10px; //
   bottom: 20px;
   width: 50%;
}

#errorKontakt h1 {
   color: rgb(255, 0, 0);
   position: absolute;
   font-size: 16px;
   right: 0px;
   text-align: right;
   bottom: 10px;
   width: 100%;
   font-family: "Lucida Sans Unicode", sans-serif;
}

#kontaktInputVorname, #kontaktInputNachname, #kontaktInputEmail {
   color: #2f2f2f;
   font-size: 18px;
   border: 1px solid #2f2f2f;
   background-color: #dfdfdf;
   width: 50%;
   padding: 10px 10px;
   margin-bottom: 20px;
   font-family: "Lucida Sans Unicode", sans-serif;
}

#MitteilungInput {
   width: 100%;
   padding: 10px;
   height: 300px;
   color: #2f2f2f;
   font-size: 18px;
   border: 1px solid #2f2f2f;
   background-color: #dfdfdf;
   font-family: "Lucida Sans Unicode", sans-serif;
   margin-bottom: 10px;
}

.galerieBild {
   width: 100%;
   margin-bottom: 5px;
   cursor: pointer;
}

.galerieBildLazy {
   width: 100%;
   margin-bottom: 5px;
   opacity: 0;
   cursor: pointer;
}

.ueberMichBilder {
   width: 100%;
   margin-bottom: 15px;
}

.overlay {
   background-color: rgba(0, 0, 0, 0.85);
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 1000;
   position: fixed;
   opacity: 0;
}

.picViewPanel {
   position: absolute;
   top: 10%;
   bottom: 10%;
   right: 0;
   left: 0;
   margin: auto;
   width: 70%;
}

#picViewPic {
   width: 100%;
}

#closePic {
   position: absolute;
   top: 2px;
   right: 2px;
   width: 6%;
   opacity: 0;
   cursor: pointer;
}

#menuTab {
   position: fixed;
   top: 0;
   right: 0;
   width: 40px;
   height: 40px;
   display: none;
   z-index: 1000;
   cursor: pointer;
   background: rgba(220, 220, 220, .6) url(../img/menu.png) no-repeat center center;
   background-size: 20px;
}

@media screen and (max-width: 1023px) {
   .contentBox {
      width: 80%;
      margin: auto;
   }
   #menu {
      position: fixed;
      top: 0;
      width: 100%;
   }
   #menu li {
      display: inline-block;
      width: auto;
      border-bottom: none;
   }
   #menu li a {
      margin: 10px 20px 10px 20px;
   }
}

@media screen and (max-width: 685px) {
   #menu {
      position: fixed;
      top: 0;
      margin-left: 0;
      width: 100%;
   }
   #menu li {
      display: block;
      width: auto;
      border-bottom: none;
   }
   #footer {
      height: 30px;
   }
   #footer h2 {
      font-size: 12px;
      top: 8px;
   }
   #con5link {
      font-size: 12px;
      top: 8px;
   }
   #menu li a {
      margin: 10px 20px 10px 20px;
   }
   #menuTab {
      display: block;
   }
   #kontaktButton, #kontaktButtonReset {
      width: 20%;
      min-width: 60px;
      font-size: 12px;
   }
   #errorKontakt h1 {
      font-size: 10px;
   }
}